package com.swinw.micimerci.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.swinw.micimerci.utils.PageUtils;
import com.swinw.micimerci.utils.Query;


import com.swinw.micimerci.dao.ResourceImagesDao;
import com.swinw.micimerci.entity.ResourceImagesEntity;
import com.swinw.micimerci.service.ResourceImagesService;


@Service("resourceImagesService")
public class ResourceImagesServiceImpl extends ServiceImpl<ResourceImagesDao, ResourceImagesEntity> implements ResourceImagesService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ResourceImagesEntity> page = this.page(
                new Query<ResourceImagesEntity>().getPage(params),
                new QueryWrapper<ResourceImagesEntity>()
        );

        return new PageUtils(page);
    }

}